home *** CD-ROM | disk | FTP | other *** search
- ################################################################
- #
- # this is the language switching ldl file, which maps OS language
- # to the proper ldl file to be used by the installer.
- #
- # the following languages are recognized (taken directly from
- # microsoft's winnt.h):
- #
- # string to use corresponding constant in winnt.h other comments
- #--------------------------------------------------------------------------------
- #
- # default - includes all OS languages - in other words,
- # this specifies the default ldl file to use if
- # no other language match can be made
- #
- #
- # English LANG_ENGLISH includes all english systems
- # English_US SUBLANG_ENGLISH_US
- # English_Canadian SUBLANG_ENGLISH_CAN
- # English_UK SUBLANG_ENGLISH_UK
- #
- # English_Austrailan SUBLANG_ENGLISH_AUS
- # English_NZ SUBLANG_ENGLISH_NZ
- # English_Irish SUBLANG_ENGLISH_EIRE
- # English_SouthAfrica SUBLANG_ENGLISH_SOUTH_AFRICA
- #
- # English_Jamaica SUBLANG_ENGLISH_JAMAICA
- # English_Caribbean SUBLANG_ENGLISH_CARIBBEAN
- # English_Belize SUBLANG_ENGLISH_BELIZE
- # English_Trinidad SUBLANG_ENGLISH_TRINIDAD
- #
- #
- # French LANG_FRENCH includes all french systems
- # French_ SUBLANG_FRENCH doesn't include other sublanguages of french
- # French_Belgian SUBLANG_FRENCH_BELGIAN
- # French_Canadian SUBLANG_FRENCH_CANADIAN
- #
- # French_Swiss SUBLANG_FRENCH_SWISS
- # French_Luxembourg SUBLANG_FRENCH_LUXEMBOURG
- #
- #
- # German LANG_GERMAN includes all german systems
- # German_ SUBLANG_GERMAN doesn't include other sublanguages of german
- # German_Swiss SUBLANG_GERMAN_SWISS
- # German_Austrian SUBLANG_GERMAN_AUSTRIAN
- #
- # German_Luxembourg SUBLANG_GERMAN_LUXEMBOURG
- # German_Liechtenstein SUBLANG_GERMAN_LIECHTENSTEIN
- #
- #
- # Spanish LANG_SPANISH includes all spanish systems
- # Spanish_ SUBLANG_SPANISH doesn't include other sublanguages of spanish
- # Spanish_Mexican SUBLANG_SPANISH_MEXICAN
- # Spanish_Modern SUBLANG_SPANISH_MODERN
- #
- # Spanish_Guatemala SUBLANG_SPANISH_GUATEMALA
- # Spanish_CostaRica SUBLANG_SPANISH_COSTA_RICA
- # Spanish_Panama SUBLANG_SPANISH_PANAMA
- # Spanish_DominicanRepublic SUBLANG_SPANISH_DOMINICAN_REPUBLIC
- #
- # Spanish_Venezuela SUBLANG_SPANISH_VENEZUELA
- # Spanish_Colombia SUBLANG_SPANISH_COLOMBIA
- # Spanish_Peru SUBLANG_SPANISH_PERU
- # Spanish_Argentina SUBLANG_SPANISH_ARGENTINA
- #
- # Spanish_Ecuador SUBLANG_SPANISH_ECUADOR
- # Spanish_Chile SUBLANG_SPANISH_CHILE
- # Spanish_Uruguay SUBLANG_SPANISH_URUGUAY
- # Spanish_Paraguay SUBLANG_SPANISH_PARAGUAY
- #
- # Spanish_Bolivia SUBLANG_SPANISH_BOLIVIA
- # Spanish_ElSalvador SUBLANG_SPANISH_EL_SALVADOR
- # Spanish_Honduras SUBLANG_SPANISH_HONDURAS
- # Spanish_Nicaragua SUBLANG_SPANISH_NICARAGUA
- #
- # Spanish_PuertoRico SUBLANG_SPANISH_PUERTO_RICO
- #
- #
- # Chinese LANG_CHINESE includes all chinese systems
- # Chinese_Traditional SUBLANG_CHINESE_TRADITIONAL
- # Chinese_Simplified SUBLANG_CHINESE_SIMPLIFIED
- # Chinese_HongKong SUBLANG_CHINESE_HONGKONG
- #
- # Chinese_Singapore SUBLANG_CHINESE_SINGAPORE
- #
- #
- # Japanese LANG_JAPANESE
- #
- #
- # Italian LANG_ITALIAN includes all italian systems
- # Italian_ SUBLANG_ITALIAN doesn't include other sublanguages of italian
- # Italian_Swiss SUBLANG_ITALIAN_SWISS
- #
- #
- # Portuguese LANG_PORTUGUESE includes all portuguese systems
- # Portuguese_ SUBLANG_PORTUGUESE doesn't include other sublanguages of portuguese
- # Portuguese_Brazilian SUBLANG_PORTUGUESE_BRAZILIAN
- #
- #
- # Korean LANG_KOREAN includes all korean systems
- # Korean_ SUBLANG_KOREAN doesn't include other sublanguages of korean
- # Korean_Johab SUBLANG_KOREAN_JOHAB
- #
- #
- # Thai LANG_THAI
- #
- #
- # Vietnamese LANG_VIETNAMESE
- #
- #
- # Hebrew LANG_HEBREW
- #
- #
- # Russian LANG_RUSSIAN
- #
- #
- # Greek LANG_GREEK
- #
- #
- # Arabic LANG_ARABIC includes all arabic systems
- # Arabic_SaudiArabia SUBLANG_ARABIC_SAUDI_ARABIA
- # Arabic_Iraq SUBLANG_ARABIC_IRAQ
- # Arabic_Egypt SUBLANG_ARABIC_EGYPT
- #
- # Arabic_Libya SUBLANG_ARABIC_LIBYA
- # Arabic_Algeria SUBLANG_ARABIC_ALGERIA
- # Arabic_Morocco SUBLANG_ARABIC_MOROCCO
- # Arabic_Tunisia SUBLANG_ARABIC_TUNISIA
- #
- # Arabic_Oman SUBLANG_ARABIC_OMAN
- # Arabic_Yemen SUBLANG_ARABIC_YEMEN
- # Arabic_Syria SUBLANG_ARABIC_SYRIA
- # Arabic_Jordan SUBLANG_ARABIC_JORDAN
- #
- # Arabic_Lebanon SUBLANG_ARABIC_LEBANON
- # Arabic_Kuwait SUBLANG_ARABIC_KUWAIT
- # Arabic_UAE SUBLANG_ARABIC_UAE
- # Arabic_Bahrain SUBLANG_ARABIC_BAHRAIN
- #
- # Arabic_Qatar SUBLANG_ARABIC_QATAR
- #
- #
- # Swedish LANG_SWEDISH includes all swedish systems
- # Swedish_ SUBLANG_SWEDISH
- # Swedish_Finland SUBLANG_SWEDISH_FINLAND
- #
- #
- # Serbian LANG_SERBIAN includes all serbian systems
- # Serbian_Latin SUBLANG_SERBIAN_LATIN
- # Serbian_Cyrillic SUBLANG_SERBIAN_CYRILLIC
- #
- #
- # Norwegian LANG_NORWEGIAN includes all norwegian systems
- # Norwegian_Bokmal SUBLANG_NORWEGIAN_BOKMAL
- # Norwegian_Nynorsk SUBLANG_NORWEGIAN_NYNORSK
- #
- #
- # Dutch LANG_DUTCH includes all dutch systems
- # Dutch_ SUBLANG_DUTCH doesn't include other sublanguages of dutch
- # Dutch_Belgian SUBLANG_DUTCH_BELGIAN
- #
- #
- # Afrikaans LANG_AFRIKAANS includes all african languages (?)
- #
- #
- # Albanian LANG_ALBANIAN
- #
- #
- # Basque LANG_BASQUE
- #
- #
- # Belarusian LANG_BELARUSIAN
- #
- #
- # Bulgarian LANG_BULGARIAN
- #
- #
- # Catalan LANG_CATALAN
- #
- #
- # Croatian LANG_CROATIAN
- #
- #
- # Czech LANG_CZECH
- #
- #
- # Danish LANG_DANISH
- #
- #
- # Estonian LANG_ESTONIAN
- #
- #
- # Faeroese LANG_FAEROESE
- #
- #
- # Farsi LANG_FARSI
- #
- #
- # Finnish LANG_FINNISH
- #
- #
- # Hungarian LANG_HUNGARIAN
- #
- #
- # Icelandic LANG_ICELANDIC
- #
- #
- # Indonesian LANG_INDONESIAN
- #
- #
- # Latvian LANG_LATVIAN
- #
- #
- # Lithuanian LANG_LITHUANIAN
- #
- #
- # Polish LANG_POLISH
- #
- #
- # Romanian LANG_ROMANIAN
- #
- #
- # Serbian LANG_SERBIAN
- #
- #
- # Slovak LANG_SLOVAK
- #
- #
- # Slovenian LANG_SLOVENIAN
- #
- #
- # Turkish LANG_TURKISH
- #
- #
- # Ukrainian LANG_UKRAINIAN
- #
- #----------------------------------------------------------------
- #
- # as you can see, there are 3 classes of language specifier,
- # each more specific than the last:
- #
- # default includes all languages
- # language includes all sublanguages of that language
- # sublanguage includes only that sublanguage
- #
- # a sublanguage name is always of the form 'lang_sublang'. sublang is sometimes zero length, but the
- # '_' character is always there in a sublanguge. presence of the '_' character means the name is treated as a
- # sublanguage.
- #
- # these language names are used in the following way:
- #
- # there is a 'switch' block whose child blocks represent ldl files and languages for which they are used. Example:
- #
- #
- # switch
- # {
- # English
- # {
- # string language_0 "default"
- # string file "string_e.ldl"
- # }
- #
- # German
- # {
- # string language_0 "German"
- # string file "string_g.ldl"
- # }
- #
- # French
- # {
- # string language_0 "French"
- # string language_1 "Chinese"
- # string language_2 "Arabic_Yemen"
- # string file "string_f.ldl"
- # }
- #
- # US
- # {
- # string language_0 "English_US"
- # string file "string_u.ldl"
- # }
- # }
- #
- # in this example, string_e.ldl is the default ldl file to use. string_u.ldl is used only on english US systems.
- # string_g.ldl is used on german systems. string_f.ldl is used on french, chinese, and arabic yemen systems. Other
- # arabic systems would use string_e.ldl, since "Arabic" is not specified anywhere. note that this is a bizarre
- # example constructed only for the explanation's sake.
- #
- # most products' switch blocks will look quite simple:
- #
- # switch.string_e
- # {
- # string language_0 "default"
- # string file "string_e.ldl"
- # }
- #
- # or maybe:
- #
- # switch
- # {
- # Default
- # {
- # language_0 "default"
- # string file "string_e.ldl"
- # }
- #
- # string_g
- # {
- # language_0 "German"
- # string file "string_g.ldl"
- # }
- #
- # string_f
- # {
- # language_0 "French"
- # string file "string_f.ldl"
- # }
- #
- # string_s
- # {
- # language_0 "Spanish"
- # string file "string_s.ldl"
- # }
- # }
- #
- #
- # for a multilanguage CD designed for english, german, french, and spanish systems.
- # note that if the string_e block had been:
- #
- # English
- # {
- # string language_0 "English"
- # string file "string_e.ldl"
- # }
- #
- # you would have had no default ldl file specified. Always supply a default ldl file. If the above installer were to be run on a
- # chinese system, setup would not launch. Activision company policy has been not to lockout users based on the language of their windows OS.
- #
- # other things to note: language names are not case sensitive. Attributes of the ldl file block should be named language_0, language_1, etc...
- # Setup stops looking for languages at the first such attribute in the series that it can't find. The child blocks of 'switch' can be named
- # anything which is a valid base filename. Each child block must have a 'file' attribute. This is the path to the ldl file to be used,
- # default directory is SRCDIR:/, if no drive is specified.
- #
- # the ldl files referenced by the switch block should contain all the information setup needs to change its behavior based on language.
- # Usually this includes text context, files to copy, formatting and positioning, voice-over .wav files, and locations of secondary
- # resources such as help and web sites.
- #
- #
-
- switch
- {
- English
- {
- string file "string_e.ldl"
- string language_0 "default"
- }
- }